<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Draws a cubic Bezier curve</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="imagickdraw.pathcurvetoquadraticbeziersmoothrelative.html">« ImagickDraw::pathCurveToQuadraticBezierSmoothRelative</a></li>
      <li style="float: right;"><a href="imagickdraw.pathcurvetosmoothabsolute.html">ImagickDraw::pathCurveToSmoothAbsolute »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.imagickdraw.html">ImagickDraw</a></li>
    <li>Draws a cubic Bezier curve</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="imagickdraw.pathcurvetorelative" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ImagickDraw::pathCurveToRelative</h1>
  <p class="verinfo">(PECL imagick 2, PECL imagick 3)</p><p class="refpurpose"><span class="refname">ImagickDraw::pathCurveToRelative</span> &mdash; <span class="dc-title">Draws a cubic Bezier curve</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagickdraw.pathcurvetorelative-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ImagickDraw::pathCurveToRelative</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$x1</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$y1</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$x2</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$y2</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$x</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type">float</span> <code class="parameter">$y</code></span><br>): <span class="type">bool</span></div>

  <div class="warning"><strong class="warning">警告</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>
  <p class="para">
   Draws a cubic Bezier curve from the current point to (x,y) using (x1,y1)
   as the control point at the beginning of the curve and (x2,y2) as the
   control point at the end of the curve using relative coordinates. At the
   end of the command, the new current point becomes the final (x,y) 
   coordinate pair used in the polybezier.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagickdraw.pathcurvetorelative-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt>
<code class="parameter">x1</code></dt>

     <dd>

      <p class="para">
       x coordinate of starting control point
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">y1</code></dt>

     <dd>

      <p class="para">
       y coordinate of starting control point
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">x2</code></dt>

     <dd>

      <p class="para">
       x coordinate of ending control point
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">y2</code></dt>

     <dd>

      <p class="para">
       y coordinate of ending control point
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">x</code></dt>

     <dd>

      <p class="para">
       ending x coordinate
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">y</code></dt>

     <dd>

      <p class="para">
       ending y coordinate
      </p>
     </dd>

    
   </dl>

  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagickdraw.pathcurvetorelative-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>


</div></div></div></body></html>